<style type="text/css">
    fieldset{background-color:#efefef;}
    legend{font-size:12px;font-weight:normal;color:#008800;}
</style>
<div class="bjui-pageContent">
    <form action="{:url('TplMsg/add')}" class="pageForm" data-toggle="validate" method="post">
        <table class="table-bordered table-condensed table-hover" width="100%">
            <tbody>
                <tr>
                    <td>
                        <label for="j_title" class="control-label x85">短信标题：</label>
                        <input type="text" name="title" id="j_title" value="" data-rule="required;title;remote[{:url('TplMsg/same')}]" size="31">
                    </td>
                </tr>
                <tr>
                    <td style="height:35px;">
                        <label for="j_platform" class="control-label x85">短信平台：</label>
                        <input type="radio" name="platform" id="j_platform" data-toggle="icheck" value="yunpian" data-label="云片短信" checked>
                    </td>
                </tr>
            </tbody>
        </table>
        <br/>
        <fieldset>
            <legend>全局默认</legend>
            <table class="table-condensed table-hover" width="100%">
                <tr>
                    <td>
                        <label for="j_dialog_code" class="control-label x55">每天：</label>
                        <select name="a" id="j_" data-toggle="selectpicker" data-width="90" disabled>
                            <option value="0">00</option>
                        </select>&nbsp;时
                        <select name="b" id="j_" data-toggle="selectpicker" data-width="90" disabled>
                            <option value="0">00</option>
                        </select>&nbsp;分
                        至&nbsp;
                        <select name="c" id="j_" data-toggle="selectpicker" data-width="90" disabled>
                            <option value="0">00</option>
                        </select>&nbsp;时
                        <select name="d" id="j_" data-toggle="selectpicker" data-width="90" disabled>
                            <option value="0">00</option>
                        </select>&nbsp;分
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="j_dialog_code1" class="control-label x55">短信：</label>
                        <textarea cols="46" rows="3" name="msg" style="resize:none;font-size:12px;" placeholder="短信内容为空，则不发短信！"></textarea>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>优先时段</legend>
            <table class="table-condensed table-hover" width="100%">
                <tr>
                    <td>
                        <label class="control-label x55">每天：</label>
                        <select name="fromh" data-toggle="selectpicker" data-width="90">
                            {volist name="hour" id="h"}
                            <option value="{$h}">{$h}</option>
                            {/volist}
                        </select>&nbsp;时
                        <select name="fromm" data-toggle="selectpicker" data-width="90">
                            {volist name="minute" id="m"}
                            <option value="{$m}">{$m}</option>
                            {/volist}
                        </select>&nbsp;分
                        至&nbsp;
                        <select name="toh" data-toggle="selectpicker" data-width="90">
                            {volist name="hour" id="h"}
                            <option value="{$h}">{$h}</option>
                            {/volist}
                        </select>&nbsp;时
                        <select name="tom" data-toggle="selectpicker" data-width="90">
                            {volist name="minute" id="m"}
                            <option value="{$m}">{$m}</option>
                            {/volist}
                        </select>&nbsp;分
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="j_dialog_code2" class="control-label x55">短信：</label>
                        <textarea cols="46" rows="3" name="xmsg" style="resize:none;font-size:12px;" placeholder="短信内容为空，则不发短信！"></textarea>
                    </td>
                </tr>
            </table>
        </fieldset>
        <table class="table-bordered table-condensed table-hover" width="100%">
            <tbody>
                <tr>
                    <td style="height:35px;">
                        <label class="control-label x85">使用状态：</label>
                        <input type="radio" id="j_status1" name="status" value="1" data-toggle="icheck" data-label="启用" checked>&nbsp;
                        <input type="radio" id="j_status2" name="status" value="0" data-toggle="icheck" data-label="关闭">
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="undo">取消</button></li>
        <li><button type="submit" class="btn-green" data-icon="save">保存</button></li>
    </ul>
</div>